package algoWing42.controlador;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;
import javax.swing.JOptionPane;

import algoWing42.vista.MenuPrincipal;

public class AccionBotonCreditos implements ActionListener {
	private MenuPrincipal frameMenu;

	public AccionBotonCreditos(JFrame frame) {

		this.frameMenu = (MenuPrincipal) frame;
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {
		JOptionPane.showMessageDialog(frameMenu, "Integrantes Algo3 TP2:\n"
				+ "- Franco Lozano\n" + "- Lucas Pennese\n"
				+ "- Federico Rulli\n", "Creditos", JOptionPane.PLAIN_MESSAGE);

	}

}
